﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using Akso.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Orders.Dto
{
    /// <summary>
    /// 主页面查询时显示网格数据时的Dto对象。
    /// </summary>
    [AutoMapFrom(typeof(StudentOrder))]
    public class OrderListDto: EntityDto<Guid>, IHasCreationTime
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderCode { get; set; }
        /// <summary>
        /// 下单日期
        /// </summary>
        public DateTime OrderDate { get; set; }
        /// <summary>
        /// 学员姓名
        /// </summary>
        public string SName { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string OrderStatus { get; set; }
        public DateTime CreationTime { get; set; }
    }
}
